package com.coffee.admin.api.supplier.service;

import com.coffee.admin.api.supplier.query.SupplierBaseDeployQuery;
import com.coffee.admin.api.supplier.result.SupplierBaseDeployResult;
import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface SupplierBaseDeployService {

	Page<SupplierBaseDeployResult> getPager(SupplierBaseDeployQuery param, PagerInfo pr);
	
	Integer count(SupplierBaseDeployQuery param);
	
	SupplierBaseDeployResult getDetail(Integer id);
	
	List<SupplierBaseDeployResult> getList(SupplierBaseDeployQuery param, PagerInfo pr);
	
	List<SupplierBaseDeployResult> getList(SupplierBaseDeployQuery param);
	
	List<SupplierBaseDeployResult> getList();

	void delete(Integer id);

	void addOrUpdate(SupplierBaseDeployResult result)throws BusinessException;
	
	Map<Integer,SupplierBaseDeployResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,SupplierBaseDeployResult> getItemMap();
	
}